package com.example.demo.enums;

public enum ErrorEnum {
    LACK_PARAM("1001", "缺少参数"),
    CANT_FIND("1002", "无法查询到信息");

    private String code;
    private String value;

    ErrorEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
